package com.jinzhending.service.wx.impl;

import com.jinzhending.dao.wx.CategoryDao;
import com.jinzhending.entity.Category;
import com.jinzhending.service.wx.CategoryService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @ProjectName: LieIdle
 * @Package: com.jinzhending.service.wx.impl
 * @Author: huat
 * @Date: 2020/4/4 11:06
 * @Version: 1.0
 */
@Service
public class CategoryServiceImpl implements CategoryService {
    @Autowired
    CategoryDao categoryDao;
    /**
     * 获取菜单列表
     * @return
     */
    @Override
    public List<Category> getAllCategory() {
        return categoryDao.getAllCategory();
    }
}
